package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Strategy;
import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.query.StrategyCatalogQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {
    void save(StrategyCatalog strategyCatalog);

    void delete(String id);

    void update(StrategyCatalog strategyCatalog);

    StrategyCatalog get(String id);

    // 分页查询
    Page<StrategyCatalog> query(StrategyCatalogQuery qo);

    // 添加与编辑
    void saveOrUpdate(StrategyCatalog strategyCatalog);
}
